<template>
  <image :src="src" :mode="mode" />
</template>
<script lang="ts">
import Vue from '@/utils/Vue';
import { PropType } from 'vue';

interface IData {}

export default Vue.extend({
  data(): IData {
    return {};
  },
  components: {},
  props: {
    src: String,
    mode: String as PropType<'widthFix' | 'aspectFill'>,
  },
  methods: {},
});
</script>
